﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AdminSite.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="TanHungViet.Helper"%>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Chỉnh Sửa Nội Dung - PHẦN MỀM XÂY DỰNG – TÂN HƯNG VIỆT – 0835.125.795
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <script type='text/javascript' language='javascript' src='<%= Url.Content("~/ckeditor/ckeditor.js") %>'></script>
    <script type='text/javascript' language='javascript' src='<%= Url.Content("~/Scripts/jquery-ui-1.8.16.custom.min.js") %>'></script>
    
    <script type="text/javascript">
        jQ(function() {
            jQ("#tabs").tabs({ fx: [{ opacity: 'toggle', duration: 'normal' },   // hide option
                        {opacity: 'toggle', duration: 'fast'}]
            });
        });
	</script>
    <div class="title-mainright1">
	    <h2 class="text1">Tên của menu cha vi du như là "GIỚI THIỆU"</h2>
    </div>
	<div class="content1">
		<div class="top-box2"><img src='<%=Url.Content("~/Content/images/top-box21.jpg")%>'/> </div>		
			<div class="center-box21">
			  <div style="margin-left:50px;">
			  <p>
	                    <label><span style="color:Orange;"><b>Tiêu đề</b></span></label>
	                    <br />
	                    <br />
	                    <%= Html.TextBox("ContentTitle","", new { size = "100", maxlength = "50" })%>
	                    <span id="error-title" style="color:#FF0000"></span>
	                </p>
			    <p>
	                    <label><span style="color:Orange;"><b>Nội dung</b></span></label>
	                    <br />
	                    <br />
	                    <%= Html.TextArea("ContentDetail") %>
	                    <span id="error-content" style="color:#FF0000"></span>
	                    <script type="text/javascript">
	                        CKEDITOR.replace('ContentDetail',
                            {
                                width: 800,
                                height: 500,
                                toolbarCanCollapse: false,
                                removePlugins: 'elementspath',
                                uiColor: '#DCDCDC',
                                filebrowserImageBrowseUrl: '/ckeditor/ImageBrowser.aspx?ImageFolderRoot=~/Content/images_content_detail/'
                            });
	                    </script>
	                </p>
	                <br />
                    <input type="button" class="button" value="Lưu lại" onclick="Submit()" /> &nbsp;&nbsp;&nbsp;
                    <input type="button" class="button" value="Hủy bỏ" onclick="Cancel()" />
	               </div> 
			</div>            	
		<div class="bottom-box2"><img src='<%=Url.Content("~/Content/images/bottom-box21.jpg")%>'	></div>
	</div> 
</asp:Content>
